#include "junix.h"

struct A
{
	int index;
	char buf[12];
};

int main(int argc, char **argv)
{
	struct A a;
	int fd = Open("Hash_file",O_RDWR);
	Lseek(fd, 456*sizeof(a), SEEK_SET);
	Read(fd, (char*)&a, sizeof(a) );

	printf("A.index:%d\n", a.index);
	printf("A.buf:%s\n", a.buf);

	Close(fd);

    exit(0);
}

